package com.tiny.web.dao;

import com.tiny.web.modal.Integral;
import com.tiny.web.modal.IntegralExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface IntegralMapper {
    int countByExample(IntegralExample example);
    int deleteByExample(IntegralExample example);
    int deleteByPrimaryKey(Long id);
    int insert(Integral record);
    int insertSelective(Integral record);
    List<Integral> selectByExample(IntegralExample example);
    Integral selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") Integral record, @Param("example") IntegralExample example);

    int updateByExample(@Param("record") Integral record, @Param("example") IntegralExample example);

    int updateByPrimaryKeySelective(Integral record);
    int updateByPrimaryKey(Integral record);
}